package com.server.modules.api.service.impl;

import com.server.modules.api.dao.ApplyLoanAPIDao;
import com.server.modules.api.service.IApplyLoanAPIService;
import com.server.modules.api.vo.ApplyLoan;
import com.server.modules.sys.entity.loan.CustomPay;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2016/9/19.
 */
@Service
public class ApplyLoanAPIServiceImpl implements IApplyLoanAPIService {
    @Autowired
    private ApplyLoanAPIDao applyLoanAPIDao;
    @Override
    public List<ApplyLoan> findApplyLoanList(CustomPay customPay){
            return applyLoanAPIDao.findApplyLoanList(customPay);
    }

    @Override
    public CustomPay findCustomPayByOrders(String orders) {
        return applyLoanAPIDao.findCustomPayByOrders(orders);
    }
}
